//
//  TrainingCategory.m
//  CoolTennisBall
//
//  Created by CA on 16/3/22.
//  Copyright © 2016年 CoolLang. All rights reserved.
//

#import "TrainingCategory.h"

@implementation TrainingCategory

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
             @"name": @"TypeInfo.Name",
             @"categoryID": @"TypeInfo.TypeID",
             @"videoList": [TrainingVideo class],
             };
}

@end

@implementation TrainingVideo
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
             @"videoID": @"ID",
             @"name": @"Name",
             @"url": @"Url"
             };
}


@end


